package hk;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import rule.CustumRule;


@SpringBootApplication
@EnableDiscoveryClient
//@RibbonClient(name = "HK-PAYMENT-SERVICE", configuration = CustumRule.class)
@EnableFeignClients   //要开启Feign相关的支持
public class App04 {
    public static void main(String[] args) {
        SpringApplication.run(App04.class, args);
    }
}